#include "stdafx.h"

#include "ShotStep.h"

CShotStep::CShotStep()
{
	resetStep(0);
}

CShotStep::~CShotStep()
{
}

CBall *CShotStep::getBall(int pos)
{
	//ASSERT((pos>=0) && (pos < k_ball_count));
	return &m_balls[pos];
}

void CShotStep::resetStep(unsigned char timeLeft)
{
	for (int i=0;i<k_ball_count;i++)
	{
		m_balls[i].flags = 0;
		m_balls[i].timeLeft = timeLeft;
	}
}
